﻿using Ridofy.Spotify;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace Ridofy.Test
{
    [TestClass]
    public class SpotifyClientTest
    {
        
        [TestMethod()]
        public void SearchTrackTest()
        {
            SpotifyClient target = new SpotifyClient();
            string trackname = "1969";
            SpotifySearchResult expected = new SpotifySearchResult{ 
                Tracks = new Track[]{ new Track{ 
                    Album = new Album{ Name="Fun House", Year= 1969}, 
                    Artist = new Artist{ Name ="The Stooges"}, 
                    SpotifyUrl = "http", 
                    Title="1969"
                }}};
 
            SpotifySearchResult tracks = target.SearchTrack(trackname);
            
        }
    }
}
